﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AIStudio.Wpf.DiagramDesigner;
using AIStudio.Wpf.DiagramDesigner.Models;

namespace AIStudio.Wpf.DiagramDesigner
{
    public class GroupDesignerItemViewModel : DesignerItemViewModelBase
    {
        public GroupDesignerItemViewModel() : this(null)
        {

        }

        public GroupDesignerItemViewModel(IDiagramViewModel root) : base(root)
        {
            
        }

        public GroupDesignerItemViewModel(IDiagramViewModel root, SelectableItemBase designer) : base(root, designer)
        {

        }

        public GroupDesignerItemViewModel(IDiagramViewModel root, SerializableItem serializableItem, string serializableType) : base(root, serializableItem, serializableType)
        {

        }

        protected override void Init(IDiagramViewModel root)
        {
            base.Init(root);

            this.IsHitTestVisible = true;
        }

        protected override void InitConnector()
        {
       
        }

        protected override void ExecuteEditCommand(object param)
        {
        }


        /// <summary>
        /// 打标记使用
        /// </summary>
        public bool Custom
        {
            get;set;
        }
    }
}
